public class Mainclass {
        public static void main(String[] args){
                Frame g = new Frame();
                g.pack();
                g.setBounds(100, 200, 400, 400);
                g.setVisible(true);
                g.setAlwaysOnTop(true);
        }
}
